package com.maiji.cloud.request.shopingmall;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.List;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class OrderRefreshReqDto {

    @ApiModelProperty(value="刷新订单参数")
    private OrderRefreshReqData data;

    @NoArgsConstructor
    @Data
    @Accessors(chain=true)
    public class OrderRefreshReqData {

        @ApiModelProperty(value="购物车ID[]")
        private List<String> shopingCartIds;

        @ApiModelProperty(value="购买数量")
        private Integer purchaseQuantity;

        @ApiModelProperty(value="收获地址ID")
        private String shopingAddressId;

        @ApiModelProperty(value="快递ID：非必填，用户选择快递方式时上传")
        private String deliveryId;

        @ApiModelProperty(value="是否使用减肥基金")
        private Boolean fundUsable;

        @ApiModelProperty(value="是否使用积分抵现")
        private Boolean integralUsable;

        @ApiModelProperty(value="是否使用优惠券")
        private Boolean couponUsable;

        @ApiModelProperty(value="优惠卷兑换记录ID：使用优惠券时传参")
        private String exchangeId;

    }

}
